projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b35b1ef
)
xend: Fix exception in pci_convert_sxp_to_dict()
author
Keir Fraser
<keir.fraser@citrix.com>
Thu, 19 Feb 2009 11:07:33 +0000
(11:07 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Thu, 19 Feb 2009 11:07:33 +0000
(11:07 +0000)
Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>
tools/python/xen/xend/XendConfig.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/XendConfig.py
b/tools/python/xen/xend/XendConfig.py
index 8c0df3b1c2e1d48403238acd9c6a91d3a0f35aa5..efd535cf915ef6f3084f500bd92a2e88caf7b360 100644
(file)
--- a/
tools/python/xen/xend/XendConfig.py
+++ b/
tools/python/xen/xend/XendConfig.py
@@
-1586,7
+1586,7
@@
class XendConfig(dict):
try:
opt, val = opt_val
pci_dev_info[opt] = val
- except
TypeError
:
+ except
(TypeError, ValueError)
:
pass
# append uuid for each pci device.
dpci_uuid = pci_dev_info.get('uuid', uuid.createString())